package com.relytosoft.mizar.media.analyze.api.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author lj
 * @date 2022/6/9 17:30
 */
public class AyStructurePicByPicDto implements Serializable {

    private static final long serialVersionUID = -81207907908824058L;

    /**
     * 数组 实时视频国标 id
     */
    List<String> deviceIds;

    /**
     * 数据类型 1 行人人 2 机动车 3 非机动车
     */
    private Integer dataType;

    /**
     * 阈值
     */
    private Integer threshold;

    /**
     * 最大返回个数
     */
    private Integer top;

    /**
     * 开始时间，毫秒
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime;

    /**
     * 结束时间，毫秒
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /**
     * 特征值
     */
    private String feature;

    public List<String> getDeviceIds() {
        return deviceIds;
    }

    public void setDeviceIds(List<String> deviceIds) {
        this.deviceIds = deviceIds;
    }

    public Integer getDataType() {
        return dataType;
    }

    public void setDataType(Integer dataType) {
        this.dataType = dataType;
    }

    public Integer getThreshold() {
        return threshold;
    }

    public void setThreshold(Integer threshold) {
        this.threshold = threshold;
    }

    public Integer getTop() {
        return top;
    }

    public void setTop(Integer top) {
        this.top = top;
    }

    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getFeature() {
        return feature;
    }

    public void setFeature(String feature) {
        this.feature = feature;
    }


    @Override
    public String toString() {
        return "AyStructurePicByPicDto{" +
                "deviceIds=" + deviceIds +
                ", dataType=" + dataType +
                ", threshold=" + threshold +
                ", top=" + top +
                ", beginTime=" + beginTime +
                ", endTime=" + endTime +
                ", feature='" + feature + '\'' +
                '}';
    }
}
